<%-- $RCSFile: EnhancedHtmlEdit.aspx $
 Apache license v2 2011 by Christian Surieux
 $Source: ?/AddonNice/PageModules/EnhancedHTML/EnhancedHtmlEdit.aspx $
 $log$
 Revision 6 2010/08/09 10:51:20  christian.surieux
   Added Log comment to all .aspx .ascx .master files
 --%>
<%@ Page Language="c#" CodeBehind="EnhancedHtmlEdit.aspx.cs" AutoEventWireup="False" 
    Inherits="AddonNice.PageModules.EnhancedHtml.EnhancedHtmlEdit" MasterPageFile="~/MasterPages/ADNProperties.Master"  %>
<%@ Import Namespace='AddonNice.Helpers' %>
<%@ Register Assembly="Telerik.Web.UI"    Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>

<asp:Content  ID='Content0' runat='server' ContentPlaceHolderID='ContentTitle'>
</asp:Content>
<asp:Content ID="Content1" runat='server' ContentPlaceHolderID='ContentPlaceHolderButtons2'>
    <asp:PlaceHolder ID="PlaceHolderButtons2" runat="server"></asp:PlaceHolder>
</asp:Content>
<asp:Content ID="Content2" runat='server' ContentPlaceHolderID='ContentSettingsTable'>
    <asp:ScriptManagerProxy ID="SCMPEnhancedHtmlEdit" runat='server' />
    <Telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="Default" />
	<table cellpadding='0' cellspacing='0' width='100%'>
		<tr>
			<td>
			<asp:panel id="pnlSelectPage" Runat="server" Width='100%'>
					<table cellpadding='0' cellspacing='0' width='100%'>
						<tr>
							<td>
								<asp:literal id="Literal6" runat="server" Text="<%$ Resources:ADNCRM,ENHANCEDHTML_LANGUAGE %>" ></asp:literal>
							</td>
							<td>
							    <asp:label id="Label1" AssociatedControlID='lstPages' runat="server" Text="<%$ Resources:ADNCRM,ENHANCEDHTML_PAGE %>"></asp:label>
							</td>
						</tr>
						<tr>
							<td valign="top" align="center">
								<asp:listbox id="lstLanguages" runat="server" AutoPostBack="True" Rows="20"	width="250px" />
						    </td>
							<td valign="top" align="center">
								<asp:listbox id="lstPages" runat="server" Rows="20" width="300px" />
							</td>
						</tr>
					</table>
					<div style="margin-left:auto; margin-right:auto; width:100px; overflow:auto">
						<asp:PlaceHolder ID='Btn1PlaceHolder' runat='server' />
					</div>
			</asp:panel>
			<asp:panel id="pnlEditPage" Runat="server" Visible="False" Width='100%'>
					<table align="center" width='100%'>
						<tr>
							<td>
								<table>
									<tr>
										<td  align="left" width="90">
											<asp:label id="Lab3" AssociatedControlID='txtPageName' runat="server" Text="<%$ Resources:ADNCRM,ENHANCEDHTML_PAGENAME %>" />
										</td>
										<td align="left">
											<asp:TextBox id="txtPageName" runat="server" width="500px" textmode="SingleLine" />
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table>
									<tr>
										<td style="width:90px">
											<asp:label id="Lab4" AssociatedControlID="txtViewOrder" runat="server" Text="<%$ Resources:ADNCRM,ENHANCEDHTML_VIEWORDER %>" />
										</td>
										<td style="width:180px">
											<asp:TextBox id="txtViewOrder" runat="server" width="100" textmode="SingleLine" />
										</td>
										<td  align="right">
											<asp:Literal id="Literal5" runat="server" Text="<%$ Resources:ADNCRM,ENHANCEDHTML_LANGUAGE %>" />
										</td>
										<td>&nbsp;
											<asp:DropDownList id="listLanguages" runat="server" />
										</td>
									</tr>
									<tr>
									<td colspan='2' >
										<asp:Literal id='Literal1' runat="server" Text="<%$ Resources:ADNCRM,ENHANCEDHTML_CONTENT_FROM %>"></asp:Literal>
									</td>
									<td colspan='2'>
									<asp:RadioButtonList id='kindOfContent' runat="server" AutoPostBack="True">
										  <asp:ListItem Value="Editor" Selected="True">Html Editor</asp:ListItem>
										  <asp:ListItem Value="Module">Module</asp:ListItem>
										</asp:RadioButtonList>
									</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table width='100%'>
									<tr>
										<td >
											<asp:Literal id="Literal2" runat="server" Text="<%$ Resources:ADNCRM,HTML_DESKTOP_CONTENT %>" />
										</td>
									</tr>
									<tr>
										<td>
											<asp:placeholder id="PlaceHolderHTMLEditor" runat="server"></asp:placeholder>
										</td>
									</tr>
									<tr>
										<td>
											<asp:DropDownList id='listModules' runat="server" visible="false"></asp:DropDownList>
										</td>
									</tr>
									<tr>
										<td>
											<asp:DropDownList id='listAllModules' runat="server" visible="false"></asp:DropDownList>
										</td>
										</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table align="center">
									<tr>
										<td nowrap='noWrap' align="center">
											<asp:PlaceHolder ID='Btn2PlaceHolder' runat='server' />
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<hr noshade='noshade'/>
					<span >
						<asp:Literal Text="<%$ Resources:ADNCRM,CREATED_BY %>" id="CreatedLabel" runat="server"></asp:Literal>&nbsp;
						<asp:label id="CreatedBy" runat="server"></asp:label>&nbsp;
						<asp:Literal Text="<%$ Resources:ADNCRM,ON %>" id="OnLabel" runat="server"></asp:Literal>&nbsp;
						<asp:label id="CreatedDate" runat="server"></asp:label>
					</span>
			</asp:panel>
		</td>
		</tr>
	</table>
</asp:Content>
<asp:Content ID="Content3" runat='server' ContentPlaceHolderID='ContentPlaceHolderButtons1'>
		<asp:placeholder id="PlaceHolderButtons" runat="server"></asp:placeholder>
</asp:Content>
